package cn.xuguowen.user.designPatten.chain_of_responsibility.heima;

/**
 * ClassName: LeaveRequest
 * Package: cn.xuguowen.user.designPatten.chain_of_responsibility.heima
 * Description: 请假条对象
 *
 * @Author 徐国文
 * @Create 2023/6/2 17:01
 * @Version 1.0
 */
public class LeaveRequest {
    /**
     * 请假人姓名
     */
    private String name;

    /**
     * 请假天数
     */
    private Long num;

    /**
     * 请假原因
     */
    private String reason;

    public LeaveRequest(String name) {
        this.name = name;
    }

    public LeaveRequest(String name, Long num, String reason) {
        this.name = name;
        this.num = num;
        this.reason = reason;
    }

    public LeaveRequest(Long num, String reason) {
        this.num = num;
        this.reason = reason;
    }

    public String getName() {
        return name;
    }

    public Long getNum() {
        return num;
    }

    public String getReason() {
        return reason;
    }
}
